var express = require('express')
var request = require('request')

var app = express();

app.use('/', (req, res) => {
  let url = 'http://180.166.78.10/' + req.url;
  console.log(req.url)
  req.pipe(request(url)).pipe(res);
})

app.listen(9999, function () {
  console.log(`listen on http://127.0.0.1:9999`)
})